#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <fcntl.h>
#include <ctype.h>
#include <termios.h>
#include <sys/types.h>
#include <sys/mman.h>

#define FILE_PATH "/dev/mem"
#define GPIO_REMAP_BASE 0x28180000
void devmem_gpio_remap(off_t addr,int offset, uint32_t val);
unsigned long devmem_read(off_t addr);
unsigned long devmem_write(off_t addr, unsigned long val);

